package com.example.repair.base;

import java.util.List;

public class MainBanner {
    /**
     * code : 1
     * message : 获取成功
     * data : {"type":1,"type_name":"APP首页轮播广告","info":[{"content":"upload/adspic/2021-02/601bbf63d9d8b.jpg","adURL":""}]}
     */

    private int code;
    private String message;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * type : 1
         * type_name : APP首页轮播广告
         * info : [{"content":"upload/adspic/2021-02/601bbf63d9d8b.jpg","adURL":""}]
         */

        private int type;
        private String type_name;
        private List<InfoBean> info;

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getType_name() {
            return type_name;
        }

        public void setType_name(String type_name) {
            this.type_name = type_name;
        }

        public List<InfoBean> getInfo() {
            return info;
        }

        public void setInfo(List<InfoBean> info) {
            this.info = info;
        }

        public static class InfoBean {
            /**
             * content : upload/adspic/2021-02/601bbf63d9d8b.jpg
             * adURL :
             */

            private String content;
            private String adURL;

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getAdURL() {
                return adURL;
            }

            public void setAdURL(String adURL) {
                this.adURL = adURL;
            }
        }
    }
}
